package 曾世昌12_19.demo6;

public class User {
    String loginName;
    String password;
    String sex;
    String edu;
    String[] hobby;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEdu() {
        return edu;
    }

    public void setEdu(String edu) {
        this.edu = edu;
    }

    public String[] getHobby() {
        return hobby;
    }

    public void setHobby(String[] hobby) {
        this.hobby = hobby;
    }

    public User(String loginName, String password, String sex, String edu, String[] hobby) {
        this.loginName = loginName;
        this.password = password;
        this.sex = sex;
        this.edu = edu;
        this.hobby = hobby;
    }


    public User() {
    }
}
